package one.bugu.android.demon.entity;

import com.juefeng.android.framework.db.annotations.Column;
import com.juefeng.android.framework.db.annotations.Table;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: LangK
 * Date: 2017/11/30
 * Time: 15:53
 * Description:
 */
@Table(name = "SearchHistory")
public class SearchHistoryEntity {

    @Column(name = "key",isId = true)
    private String key;

    @Column(name = "createTime")
    private Date createTime;

    @Column(name = "type")
    private int type;


    public SearchHistoryEntity() {
    }

    public SearchHistoryEntity(String key, Date createTime, int type) {
        this.key = key;
        this.createTime = createTime;
        this.type = type;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
